package com.howtodoinjava.services;

import org.springframework.security.core.userdetails.UserDetails;

import com.howtodoinjava.entity.User;

public interface UserService {
	public User getUserByName(String userName);

	public UserDetails getUserDetails(String userName);

	public void insertUser(User user);

	public void updateUser(User user);

	public void deleteUser(User user);

	public void deleteUser(int userId);
}
